package com.befirefly.studentmanager.req;

import lombok.Data;

/**
 * @Author: 八千里路云和月
 * @Date: 2021/2/8 13:58
 * @Description:
 */
@Data
public class StudentRequest {
    private int pageNo;
    private int pageSize;
    private int start;
    // 查询词
    private String searchKey;

    public int getStart() {
        return (pageNo - 1) * pageSize;
    }
}
